#!/usr/bin/env sh

cd $HOME/git/tool_sh

if [ ! -d $HOME/.ssh ] ; then
    mkdir $HOME/.ssh
fi

auth_file=$HOME/.ssh/authorized_keys
if [ ! -d $auth_file ] ; then
    touch $auth_file
fi
chmod 700 $HOME/.ssh
chmod 600 $auth_file

cat ./id_rsa.pub >> $auth_file






